﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Plat.DataRepository;

namespace Plat.WfProcess.Business
{
    public class ProcessInstanceEntity
    {
        public string ProcessInstanceGUID
        {
            get;
            set;
        }

        public string ProcessGUID
        {
            get;
            set;
        }

        public string ProcessName
        {
            get;
            set;
        }

        public short State
        {
            get;
            set;
        }

        public long ApplicationInstanceID
        {
            get;
            set;
        }

        public DateTime CreatedDateTime
        {
            get;
            set;
        }

        public long CreatedByUserID
        {
            get;
            set;
        }

        public string CreatedByUserName
        {
            get;
            set;
        }

        public DateTime? LastUpdatedDateTime
        {
            get;
            set;
        }

        public byte IsProcessCompleted
        {
            get;
            set;
        }


        public DateTime? EndedDateTime
        {
            get;
            set;
        }

        public long EndedByUserID
        {
            get;
            set;
        }

        public string EndedByUserName
        {
            get;
            set;
        }

        public byte RecordStatusInvalid
        {
            get;
            set;
        }

        public string BusinessData
        {
            get;
            set;
        }

        //public IList<ActivityInstanceEntity> ActivityInstanceList
        //{
        //    get;
        //    set;
        //}
    }
}
